﻿/**
 * @author sminutoli
 * version 1.0
 * arma desde el constructor el XML para el ActionSendMessage
 */
class com.dinmax.flash.central.action.ActionSendMessage
extends com.dinmax.flash.utilities.xml.XMLAction {
	
	private var name:String = "sendmessage";
	
	public function ActionSendMessage(remoteExtId:Number, extId:Number, subject:String, body:String) {
		super();
		super.addParameter("remoteextensionid", String(remoteExtId));
		super.addParameter("extensionid", String(extId));
		super.addParameter("messagesubject", escape(String(subject)));
		super.addParameter("messagebody", escape(String(body)));
	};
	
}